topology.yml#
YAML File |
|
Loader Class |
|
Python Module |
|
Python Variable |
The topology rules applied to the feature dataset(s) are specified in the topology.yml file.
YAML Structure#
The root object is a mapping with the !TopologyConfig tag applied.
Top-Level Keys#
|
Field whose values indicate which features are exempt from certain topology rules. |
|
Domain of |
|
Name to be used for the topology in the required feature dataset. |
|
Name to be used for the topology in the optional feature dataset. |
|
Sequence of mappings, each declaring a topology rule for the required feature dataset. Each entry should have a |
Anchors#
No anchors are used in topology.yml.
Python Implementation#
Warning
This section is incomplete.
The topology_config Variable#
The module ng911ok.lib.topology provides the _NG911TopologyConfig class, which implements the !TopologyConfig tag, and its only instance, topology_config, which exposes the data stored in topology.yml.
Aliases#
Important
The topology module defines aliases for selected members of topology_config. These aliases are used throughout the package to reduce the verbosity of the code. As top-level members of the module, they can be imported like so:
from ng911ok.lib.topology import RDST, ODST
Alias |
Referent |
Type |
Meaning |
|
|
Required Dataset Topology |
|
|
|
Optional Dataset Topology |
See also
topology.yml and Aliases